package top.yinjinbiao.arcface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.yinjinbiao.arcface.domain.dto.FacePersonDTO;
import top.yinjinbiao.arcface.domain.entity.FacePerson;
import top.yinjinbiao.arcface.domain.query.FacePersonQuery;

/**
 * @Description
 * @Author yin.jinbiao
 * @Date 2021/9/27 16:41
 * @Version 1.0
 */
public interface FacePersonMapper extends BaseMapper<FacePerson> {

    /**
     * 分页查询
     * @param page
     * @param query
     * @return
     */
    IPage<FacePersonDTO> page(Page<FacePersonDTO> page, @Param("param")FacePersonQuery query);
    
}
